/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.genew.squadra.xml.model.content.spine;

import java.util.List;

/**
 *
 * @author Mario
 */
public class Spine {
    private String id;
    private String toc;
    private String pageProgDir; //enumerazione può assumere: "ltr", "rtl", "dafault"
    private List<ItemRef> itemRef;

    public Spine() {
    }

    public Spine(String id, String toc, String pageProgDir, List<ItemRef> itemRef) {
        this.id = id;
        this.toc = toc;
        this.pageProgDir = pageProgDir;
        this.itemRef = itemRef;
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the toc
     */
    public String getToc() {
        return toc;
    }

    /**
     * @param toc the toc to set
     */
    public void setToc(String toc) {
        this.toc = toc;
    }

    /**
     * @return the pageProgDir
     */
    public String getPageProgDir() {
        return pageProgDir;
    }

    /**
     * @param pageProgDir the pageProgDir to set
     */
    public void setPageProgDir(String pageProgDir) {
        this.pageProgDir = pageProgDir;
    }

    /**
     * @return the itemRef
     */
    public List<ItemRef> getItemRef() {
        return itemRef;
    }

    /**
     * @param itemRef the itemRef to set
     */
    public void setItemRef(List<ItemRef> itemRef) {
        this.itemRef = itemRef;
    }
    
    
    
}
